package com.appwoo.txtws.activity;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.RelativeLayout;
import com.appwoo.android.activity.BaseActivity;
import com.appwoo.txtws.component.DBHelper;
import com.appwoo.txtws.component.Global;

public class OtherAcitvity extends BaseActivity
  implements View.OnClickListener
{
  private RelativeLayout RelativeLayout_other_aboutus;
  private RelativeLayout RelativeLayout_other_invite;
  private RelativeLayout RelativeLayout_other_protect;
  private RelativeLayout RelativeLayout_other_userinfo;

  private void addListener()
  {
    this.RelativeLayout_other_userinfo.setOnClickListener(this);
    this.RelativeLayout_other_aboutus.setOnClickListener(this);
    this.RelativeLayout_other_invite.setOnClickListener(this);
    this.RelativeLayout_other_protect.setOnClickListener(this);
  }

  private void initView()
  {
    this.RelativeLayout_other_userinfo = ((RelativeLayout)findViewById(2131493257));
    this.RelativeLayout_other_aboutus = ((RelativeLayout)findViewById(2131493259));
    this.RelativeLayout_other_invite = ((RelativeLayout)findViewById(2131493261));
    this.RelativeLayout_other_protect = ((RelativeLayout)findViewById(2131493263));
    this.RelativeLayout_other_protect.setVisibility(4);
  }

  public void onBackPressed()
  {
    IntentActivity(this, MainTabActivity.class);
    finish();
  }

  public void onClick(View paramView)
  {
    if (paramView == this.RelativeLayout_other_aboutus)
    {
      new DBHelper(this).insertModuleAccess(Global.ManageUserName, Global.getIMEI(this), getResources().getStringArray(2131165201)[0], getResources().getStringArray(2131165201)[1]);
      IntentActivity(this, AboutUsAtivity.class);
    }
    do
    {
      return;
      if (paramView == this.RelativeLayout_other_userinfo)
      {
        new DBHelper(this).insertModuleAccess(Global.ManageUserName, Global.getIMEI(this), getResources().getStringArray(2131165200)[0], getResources().getStringArray(2131165200)[1]);
        IntentActivity(this, UserInfoShowActivity.class);
        return;
      }
      if (paramView == this.RelativeLayout_other_invite)
      {
        new DBHelper(this).insertModuleAccess(Global.ManageUserName, Global.getIMEI(this), getResources().getStringArray(2131165201)[0], getResources().getStringArray(2131165201)[1]);
        IntentActivity(this, InviteActivity.class);
        return;
      }
    }
    while (paramView != this.RelativeLayout_other_protect);
    IntentActivity(this, OtherProtectActivity.class);
  }

  public void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(2130903142);
    initView();
    addListener();
  }
}

/* Location:           C:\Documents and Settings\Administrator\classes_dex2jar.jar
 * Qualified Name:     com.appwoo.txtws.activity.OtherAcitvity
 * JD-Core Version:    0.6.2
 */